package ystp.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import ystp.model.Shengchanqiyelinxuantoupiao;
import ystp.model.ShengchanqiyelinxuantoupiaoExample;

public interface ShengchanqiyelinxuantoupiaoMapper {
    int countByExample(ShengchanqiyelinxuantoupiaoExample example);

    int deleteByExample(ShengchanqiyelinxuantoupiaoExample example);

    int deleteByPrimaryKey(String id);

    int insert(Shengchanqiyelinxuantoupiao record);

    int insertSelective(Shengchanqiyelinxuantoupiao record);

    List<Shengchanqiyelinxuantoupiao> selectByExample(ShengchanqiyelinxuantoupiaoExample example);

    Shengchanqiyelinxuantoupiao selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") Shengchanqiyelinxuantoupiao record, @Param("example") ShengchanqiyelinxuantoupiaoExample example);

    int updateByExample(@Param("record") Shengchanqiyelinxuantoupiao record, @Param("example") ShengchanqiyelinxuantoupiaoExample example);

    int updateByPrimaryKeySelective(Shengchanqiyelinxuantoupiao record);

    int updateByPrimaryKey(Shengchanqiyelinxuantoupiao record);

    Object countJicaiPass(@Param("xiangmuid")String ppXiangmuId,@Param("userid")String ppUserId);

    Object countPass(@Param("xiangmuid")String ppXiangmuId,@Param("userid")String ppUserId);

    Object countPinguiPass(@Param("xiangmuid")String ppXiangmuId,@Param("pingui")String ppPingui,@Param("userid")String ppUserId,@Param("lunci")int ppLunci);
}